Open a Word 2010 document by clicking hyperlink but the "Display for review" cannot change to "Final"

I use this Macros to open a Word document by Windows explorer.  The "Display for review" can be changed to "Final" automatically.  But I found when I open a Word document by hyperlink.  It doesn't work.

E.g. I have a Word document named ABC.doc and a hyperlink to call another Word document like c:\temp\xxx.doc

When I click c:\temp\xxx.doc

xxx.doc was opened but the "Display for review" is still "Final:ShowMarkup". 

Please help.

Alt+F11 -> Normal -> Document -> Selected "Document" & "Open"

Private Sub Document_Open()

      On Error Resume Next

      With ActiveDocument.ActiveWindow.View

             .ShowRevisionsAndComments = False

             .RevisionsView = wdRevisionsViewFinal

      End With

      On Error GoTo 0

End Sub

March 26th, 2015 1:37pm

Can anyone help me?
Free Windows Admin Tool Kit Click here and download it now
March 27th, 2015 11:47am

Hi,

As your question is about Word developing, please note we don't provide related suggestions in this forum. The correct forum should be Word for Developers forum:

https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=worddev

The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.

Regards,

Melon Chen
TechNet Community Su

April 7th, 2015 10:41pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics